package com.itzzj.common.enums;

import lombok.Getter;

/**
 * 操作类型枚举
 */
@Getter
public enum ActionEnum {

    ADMIN_ADD(1,"新增"),
    ADMIN_EDIT(2,"编辑"),
    ADMIN_REMOVE(3,"删除"),
    ADMIN_ERROR(4,"全局错误拦截"),
    ADMIN_GET(7,"获取数据"),
    WEB_TEST(5,"测试参数，前端传递参数，后端日志拦截信息获取参数"),
    GET_CODE(6,"获取图片验证码"),
    ;

    private Integer code;

    private String message;

    ActionEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }

}
